package com.yxhl.zoume.di.component.usercenter;

import com.yxhl.zoume.common.ui.fragment.BaseFragment;
import com.yxhl.zoume.core.func.passenger.ui.SelectPsgersFragment;
import com.yxhl.zoume.core.user.ui.activity.UserContainerActivity;
import com.yxhl.zoume.core.user.ui.fragment.passenger.AddPassengerFragment;
import com.yxhl.zoume.core.user.ui.fragment.passenger.PassengerMgmtFragment;
import com.yxhl.zoume.core.user.ui.fragment.passenger.UpdatePassengerFragment;
import com.yxhl.zoume.di.component.base.ActivityComponent;
import com.yxhl.zoume.di.component.base.AppComponent;
import com.yxhl.zoume.di.module.ActivityModule;
import com.yxhl.zoume.di.module.usercenter.PassengerModule;
import com.yxhl.zoume.di.scope.PerActivity;

import dagger.Component;

/**
 * Created by sugarya on 16/3/20.
 */
@PerActivity
@Component(
        dependencies = {AppComponent.class},
        modules = {PassengerModule.class, ActivityModule.class})
public interface PassengerComponent extends ActivityComponent {

    void inject(UserContainerActivity userContainerActivity);

    void inject(PassengerMgmtFragment passengerMgmtFragment);

    void inject(UpdatePassengerFragment updatePassengerFragment);

    void inject(AddPassengerFragment addPassengerFragment);

    /**
     * 选择乘车人
     * by Xboy
     */
    void inject(SelectPsgersFragment selectPsgersFragment);

    void inject(BaseFragment baseFragment);
}
